home *** CD-ROM | disk | FTP | other *** search
/ MacGames Sampler / PHT MacGames Bundle.iso / MacSource Folder / Samples from the CD / Editors / emacs / Emacs-1.14b1-sources / sources / kbd-patch / makefile < prev    next >
Encoding:
Makefile  |  1994-05-25  |  1.9 KB  |  73 lines  |  [TEXT/EMAC]

  1. #
  2. # Makefile for 'Emacs Keyboard', an INIT that patches KeyTrans for Emacs
  3. # Copyright (C) 1994 Marc Parmet.
  4. #
  5. # This file is part of the Macintosh port of GNU Emacs.
  6. #
  7. # GNU Emacs is distributed in the hope that it will be useful,
  8. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  10. # GNU General Public License for more details.
  11. #
  12.  
  13. LIBEQUATES =    -l InterfaceLib.xcoff=InterfaceLib ∂
  14.                 -l StdCLib.xcoff=StdCLib
  15.  
  16. .601.c.o ƒ .c
  17.     PPCC -o {default}.601.c.o -appleext on -opt off -sym on {default}.c
  18.  
  19. .68k.c.o ƒ .c
  20.     C -o {default}.68k.c.o -mbg on {default}.c
  21.  
  22. .68k.rsrc ƒ .68k.c.o
  23.     Link -o {default}.68k.rsrc ∂
  24.         -rt PDEF=128 ∂
  25.         -t rsrc -c RSED ∂
  26.         {default}.68k.c.o
  27.  
  28. 'Emacs Keyboard' ƒ ∂
  29.         icon.rsrc ∂
  30.         kbd-patch.601.data ∂
  31.         text.68k.rsrc ∂
  32.         gestalt.68k.rsrc ∂
  33.         install.68k.rsrc ∂
  34.         emacs-keyboard.r
  35.     Rez -o 'Emacs Keyboard' -t INIT -c EMAc emacs-keyboard.r
  36.     setfile -a B 'Emacs Keyboard'
  37.  
  38. install.68k.rsrc ƒ install.68k.c.o
  39.     Link -o install.68k.rsrc ∂
  40.         -rt INIT=128 -m install ∂
  41.         -ra Main=resLocked ∂
  42.         -t rsrc -c RSED ∂
  43.         install.68k.c.o ∂
  44.          "{Libraries}"Interface.o
  45.  
  46. kbd-patch.601.data ƒ gestalt.601.c.o text.601.c.o
  47.     PPCLink gestalt.601.c.o text.601.c.o ∂
  48.         "{PPCLibraries}"StdCLib.xcoff ∂
  49.         "{PPCLibraries}"InterfaceLib.xcoff ∂
  50.         "{PPCLibraries}"PPCCRuntime.o ∂
  51.         "{PPCLibraries}"StdCRuntime.o ∂
  52.         -sym on -o kbd-patch.601.xcoff -xm Sharedlibrary ∂
  53.         -export emacs_kbd_gestalt_dispatch,emacs_KeyTrans_patch
  54.     makepef -b kbd-patch.601.xcoff -o kbd-patch.601.data -ft rsrc -fc RSED {LIBEQUATES}
  55.  
  56. text.c ƒ kbd-patch-data.h
  57. install.c ƒ kbd-patch-data.h
  58.  
  59. clean ƒ
  60.     delete -i ∂
  61.         install.68k.c.o ∂
  62.         install.68k.rsrc ∂
  63.         gestalt.601.c.o ∂
  64.         gestalt.601.data ∂
  65.         gestalt.68k.c.o ∂
  66.         gestalt.68k.rsrc ∂
  67.         kbd-patch.601.data ∂
  68.         kbd-patch.601.xcoff ∂
  69.         text.601.c.o ∂
  70.         text.601.data ∂
  71.         text.68k.c.o ∂
  72.         text.68k.rsrc
  73.